<%@page import="com.tubeonfire.entity.SiteConfig"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	SiteConfig siteConfig = (SiteConfig)request.getAttribute("siteConfig");
%>
<jsp:include page="/admin/elements/header.jsp">
	<jsp:param value="Social Form" name="title"/>
</jsp:include>
<script type="text/javascript" src="/admin/js/mine/admin.js"></script>

	<body class="loggedin">
		<jsp:include page="/admin/elements/top.jsp"/>
	    <!-- START OF MAIN CONTENT -->
	    <div class="mainwrapper">
	     	<div class="mainwrapperinner">         	        
				<jsp:include page="/admin/elements/left.jsp">
					<jsp:param value="config" name="current_page"/>
				</jsp:include>					              	                   
	        	<div class="maincontent noright">
	        		<%
	        			if(siteConfig!=null){
	        		%>
	        		<div class="maincontentinner">	            	
		                <ul class="maintabmenu">
		                	<li><a href="/admin/config?obj=system">System</a></li>
		                	<li><a href="/admin/config?obj=cache">Cache</a></li>
		                	<li><a href="/admin/config?obj=logo">Logo</a></li>
		                	<li><a href="/admin/config?obj=seo">SEO</a></li>
                			<li class="current"><a href="/admin/config?obj=social">Social</a></li>
                			<li><a href="/admin/config?obj=slideshow">Slideshow</a></li>
		                </ul><!--maintabmenu-->	                
	                	<div class="content">	
	                	<jsp:include page="/admin/elements/message.jsp"/>
	                	<div id="messageDiv" class="notification hidden">						   
						    <p></p>
						</div>	   	                    
	                    	<div class="contenttitle">
	                    		<h2 class="image"><span>Fill Information</span></h2>
	                    	</div>
	                    	<br />
		                    <form class="stdform" action="/admin/config" method="post" id="configForm">
		                    <input type="hidden" name="obj" value="social">                  	
		                        <p>
		                        	<label>Twiter Link</label>
		                            <span class="field">
		                            	<input type="text" name="twiterLink" class="smallinput" value="<%=siteConfig.getTwiterLink()%>"/>		                            	
		                            </span>		                            		                           
		                        </p>    
		                        <p>
		                        	<label>Twiter Name</label>
		                            <span class="field">
		                            	<input type="text" name="twiterName" class="smallinput" value="<%=siteConfig.getTwiterName()%>"/>		                            	
		                            </span>		                            		                           
		                        </p>  
		                        <p>
		                        	<label>Facebook Link</label>
		                            <span class="field">
		                            	<input type="text" name="facebookLink" class="smallinput" value="<%=siteConfig.getFacebookLink()%>"/>		                            	
		                            </span>		                            		                           
		                        </p> 		                        
		                        <p>
		                        	<label>Facebook Admin Id</label>
		                            <span class="field">
		                            	<input type="text" name="facebookAdminId" class="smallinput" value="<%=siteConfig.getFacebookAdminId()%>"/>		                            	
		                            </span>		                            		                           
		                        </p>                                                                                                                                 
                        		<br clear="all" />                  
		                        <p class="stdformbutton">
		                        	<button class="submit radius2" id="btnSubmit">Submit</button>
		                            <input type="reset" class="reset radius2" value="Reset" />		                            		                           
		                        </p>                                                
                    		</form>             
	                    <br /><br />	                    
	                </div><!--content-->	                
	            </div><!--maincontentinner-->
	            <%
	        			}
	            %>
				<jsp:include page="/admin/elements/bottom.jsp"></jsp:include>                    	           	
	        </div><!--maincontent-->	                        
	     	</div><!--mainwrapperinner-->
	    </div><!--mainwrapper-->
		<!-- END OF MAIN CONTENT -->    
	</body>
</html>
